<?php

namespace App\Task;

use App\Model\Member;
use App\Model\User;
use Hyperf\Crontab\Annotation\Crontab;

class MemberTask extends BaseTask
{

    /**
     * 定时检查会员状态
     * @Crontab(rule=" * * * * * ", memo="memberStatus")
     */
    public function memberStatus()
    {

        User::syncMember();


    }

}
